package com.gotloop.dto;

import java.io.Serializable;

import javax.xml.bind.annotation.XmlRootElement;

/**
 * Comment Bean Object.
 * @author jibhaine
 *
 */
@XmlRootElement
public class CommentDTO extends AbstractDTO implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -6607583796066754112L;

	/**
	 * Comment author name.
	 */
	private String name;
	
	/**
	 * Comment author email.
	 */
	private String email;
	/**
	 * Comment author web site.
	 */
	private String site;
	/**
	 * Comment.
	 */
	private String comment;
	/**
	 * True if comment author is a gotloop member.
	 */
	private boolean member;
	/**
	 * Get accessor for name.
	 * @return the name to get
	 */
	public String getName() {
		return name;
	}
	/**
	 * Set accessor for name.
	 * @param pName the name to set
	 */
	public void setName(String pName) {
		this.name = pName;
	}
	/**
	 * Get accessor for email.
	 * @return the email to get
	 */
	public String getEmail() {
		return email;
	}
	/**
	 * Set accessor for email.
	 * @param pEmail the email to set
	 */
	public void setEmail(String pEmail) {
		this.email = pEmail;
	}
	/**
	 * Get accessor for site.
	 * @return the site to get
	 */
	public String getSite() {
		return site;
	}
	/**
	 * Set accessor for site.
	 * @param pSite the site to set
	 */
	public void setSite(String pSite) {
		this.site = pSite;
	}
	/**
	 * Get accessor for comment.
	 * @return the comment to get
	 */
	public String getComment() {
		return comment;
	}
	/**
	 * Set accessor for comment.
	 * @param pComment the comment to set
	 */
	public void setComment(String pComment) {
		this.comment = pComment;
	}
	/**
	 * Get accessor for member.
	 * @return the member to get
	 */
	public boolean isMember() {
		return member;
	}
	/**
	 * Set accessor for member.
	 * @param pMember the member to set
	 */
	public void setMember(boolean pMember) {
		this.member = pMember;
	}
	
}
